/**
 * 小小心愿
 */
import http from "@/utils/http";



/**
 * @description: 积分排名列表
 * @param {*} data
 */
export const wishList = data => {
    return http({
        url: '/backend/Wish/index',
        method: 'POST',
        data,
    })
}
/**
 * @description: 积分排名列表
 * @param {*} data
 */
export const wishFinish = data => {
    return http({
        url: '/backend/Wish/finish',
        method: 'POST',
        data,
    })
}
/**
 * @description: 添加心愿
 * @param {*} data
 */
export const addWish = data => {
    return http({
        url: '/backend/Wish/add',
        method: 'POST',
        data,
    })
}
/**
 * @description: 删除心愿
 * @param {*} data
 */
export const delWish = data => {
    return http({
        url: 'backend/Wish/del',
        method: 'POST',
        data,
    })
}
/**
 * @description: 心愿详情
 * @param {*} data
 */
export const wishInfo = data => {
    return http({
        url: '/backend/Wish/getInfo',
        method: 'POST',
        data,
    })
}
/**
 * @description: 心愿列表导入
 * @param {*} data
 */
export const wishImport = data => {
    return http({
        url: '/backend/Wish/import',
        method: 'POST',
        data,
    })
}